package com.runfig.wowo.cloud.controller;


import com.runfig.wowo.cloud.common.Result;
//import com.runfig.wowo.cloud.feign.UserInfoFeignApi;
import com.runfig.wowo.cloud.feign.UserInfoFeignApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CaoController {

    @Autowired
    private UserInfoFeignApi userInfoFeignApi;

    @RequestMapping("/cao")
    public Object cao(){

        Result dsdd = userInfoFeignApi.checkPhone("dsdd");
       return dsdd;
    }

}
